﻿using System;
using System.Collections.Generic;
using Ayatta.Contract.Domain;
using PagedList;

namespace Web.Manage.Areas.Game.Models
{
    public static class ArticleControllerModel
    {
        public class Index
        {
            public int? Id { get; set; }
            public int? ParentId { get; set; }
            public string Title { get; set; }
            public int GameId { get; set; }
            public int? Flag { get; set; }
            public DateTime? Date { get; set; }
            public GameArticleStatus? Status { get; set; }
            public GameArticleCategory? Category { get; set; }
            public IPagedList<GameArticle> Articles { get; set; }
            public IList<Ayatta.Contract.Domain.Game> Games { get; set; }
        }

        public class Detail
        {
            public GameArticle Article { get; set; }
            public IList<Ayatta.Contract.Domain.Game> Games { get; set; }
        }
    }
}